// src/api/dashboard.js
import request from '../utils/request'

// 获取所有用户
export const getAllUsers = () => {
  return request({
    url: '/api/user/getAllUsers',
    method: 'get'
  })
}

// 获取所有商品
export const getAllGoods = () => {
  return request({
    url: '/api/goods/getAllGoods',
    method: 'get'
  })
}

// 获取所有订单
export const getAllOrders = () => {
  return request({
    url: '/api/order/getAllOrder',
    method: 'get'
  })
}